package com.hoshiibuy.customerOperation.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import com.hoshiibuy.customerOperation.feign.fallback.HystrixIdGeneratorFeignFallback;

/**
 * @title: IdGeneratorService
 * @author Mr.Wu
 * @projectName hoshiibuy
 * @description: 主键服务
 * @since 2019-04-28
 */
@FeignClient(name = "hoshiibuy-id-generator", fallback = HystrixIdGeneratorFeignFallback.class)
public interface IdGeneratorService {

	/**
	 * 获取主键
	 *
	 *
	 * @return String
	 */
	@GetMapping("/getuuId")
	public String queryGeneratorId();
}
